package org.jeecg.modules.door.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.door.entity.LwgyDoorPassword;
import org.jeecg.modules.door.entity.LwgyEglock;
import org.jeecg.modules.door.entity.LwgyJointDoor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 门锁管理
 * @Author: jeecg-boot
 * @Date:   2023-08-08
 * @Version: V1.0
 */
public interface LwgyJointDoorMapper extends BaseMapper<LwgyJointDoor> {

    List<LwgyJointDoor> queryPageListCustom(Page<LwgyJointDoor> page, @Param(Constants.WRAPPER) QueryWrapper<LwgyJointDoor> queryWrapper);

    List<LwgyJointDoor> queryCustom( @Param(Constants.WRAPPER) QueryWrapper<LwgyJointDoor> queryWrapper);


    public boolean deleteByMainId(@Param("mainId") String mainId);

    public List<LwgyJointDoor> selectByMainId(@Param("mainId") String mainId);

}
